<%-- 
    Document   : CreateOffer
    Created on : 14 déc. 2011, 18:23:23
    Author     : Gaëtan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

<h1><s:property value="%{getText('offer.create.title')}" /></h1>

<s:form method="post" action="validateOffer">
    <s:textfield name="offer.entreprise" label="%{getText('offer.entreprise')}%{getText('mandatory')}" />
    <s:textfield name="offer.titre" label="%{getText('offer.titre')}%{getText('mandatory')}" />
    <s:textarea name="offer.enonce" label="%{getText('offer.enonce')}%{getText('mandatory')}" />
    <s:textfield name="offer.nom" label="%{getText('offer.nom')}%{getText('mandatory')}" />
    <s:textfield name="offer.prenom" label="%{getText('offer.prenom')}%{getText('mandatory')}" />
    <s:textfield name="offer.adresse" label="%{getText('offer.adresse')}%{getText('mandatory')}" />
    <s:textfield name="offer.codePostal" label="%{getText('offer.codePostal')}%{getText('mandatory')}" />
    <s:textfield name="offer.ville" label="%{getText('offer.ville')}%{getText('mandatory')}" />
    <s:textfield name="offer.dateEnvoi" label="%{getText('offer.dateEnvoi')}%{getText('mandatory')}" />
    <s:textfield name="offer.dateOffre" label="%{getText('offer.dateOffre')}%{getText('mandatory')}" />
    <s:textfield name="offer.promo" label="%{getText('offer.promo')}%{getText('mandatory')}" />
    <s:checkbox name="offer.istia" label="%{getText('offer.istia')}" value="true"/>
    <s:checkbox name="offer.visible" label="%{getText('offer.visible')}" value="true"/>
    <s:submit value="%{getText('offer.create.submit')}" />
</s:form>
